<p class="fieldlabel"><label for="guestname">Your Name:</label></p>
<p class="field"><input type="text" id="guestname" name="guestname" size="32" class="required"
<?php if (Gene_Request::getString('guestname', GENE_REQUEST_COOKIE)): ?>
	value="<?php _e(Gene_Request::getString('guestname', GENE_REQUEST_COOKIE)) ?>"
<?php endif; ?>
 /></p>

<p class="fieldlabel"><label for="guestemail">Your E-Mail:</label></p>
<p class="fielddescription">Your e-mail address will not be published.</p>
<p class="field"><input type="text" id="guestemail" name="guestemail" size="32" class="required"
<?php if (Gene_Request::getString('guestemail', GENE_REQUEST_COOKIE)): ?>
	value="<?php _e(Gene_Request::getString('guestemail', GENE_REQUEST_COOKIE)) ?>"
<?php endif; ?>
 /></p>

<p class="fieldlabel"><label for="guesturl">Your Webpage: <em>(Optional)</em></label></p>
<p class="field"><input type="text" id="guesturl" name="guesturl" size="32"
<?php if (Gene_Request::getString('guesturl', GENE_REQUEST_COOKIE)): ?>
	value="<?php _e(Gene_Request::getString('guesturl', GENE_REQUEST_COOKIE)) ?>"
<?php endif; ?>
 /></p>

<p class="fieldlabel">Remember the above information?</p>
<p class="field">
<?php if (Gene_Request::getString('guestname', GENE_REQUEST_COOKIE)): ?>
	<label><input type="radio" name="guestremember" value="1" checked="checked" />Yes</label>
	<label><input type="radio" name="guestremember" value="0" />No</label>
<?php else: ?>
	<label><input type="radio" name="guestremember" value="1" />Yes</label>
	<label><input type="radio" name="guestremember" value="0" checked="checked" />No</label>
<?php endif; ?>
</p>

<?php if (Gene::getSetting("object_guest_captcha")):
	$time = time() ?>
	<p class="fieldlabel"><label for="captchacode">Please type what you see:</label></p>
	<p class="fielddescription">If you can't read the code, <a href="#" onclick="javascript:var d=new Date();var time = d.getTime(); $('captcha').src='<?php echo addArguments(Gene::makeLink(Gene::specialId('Captcha')), array('id' => $object['object_id'])) ?>'+time;$('captchaid').value='<?php echo $object['object_id'] ?>'+time;return false;">request another image</a>.</p>
	<p class="field"><img id="captcha" src="<?php echo addArguments(Gene::makeLink(Gene::specialId('Captcha')), array('id' => $object['object_id'])) ?><?php echo $time ?>" alt="" /></p>
	<p class="field"><input type="hidden" id="captchaid" name="captchaid" value="<?php echo $object['object_id'] ?><?php echo $time ?>" /><input type="text" id="captchacode" name="captchacode" class="required" style="width: 198px;" autocomplete="off" /></p>
<?php endif; ?>
